package com.un.ebs.contract.domain;

import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.stereotype.Component;
import lombok.Data;
import com.un.ebs.core.metadata.DbField;

/**
 * (ContractItemWriteOffDetailExt)表实体类
 *
 * @author makejava
 * @since 2021-02-19 15:43:43
 */
@Data
@Component
@TableName("v_contract_item_write_off_detail_ext")
@SuppressWarnings("serial")
public class ContractItemWriteOffDetailExt extends Model<ContractItemWriteOffDetailExt> {

                
    @DbField(name = "id",  length = 40 , precision = 0)
    private String id;
                
    @DbField(name = "temporary_contract_code",  length = 50 , precision = 0)
    private String temporaryContractCode;
                
    @DbField(name = "business_ent_name",  length = 100 , precision = 0)
    private String businessEntName;
                
    @DbField(name = "last_customer_name",  length = 100 , precision = 0)
    private String lastCustomerName;
                
    @DbField(name = "sku_id",  length = 40 , precision = 0)
    private String skuId;
                
    @DbField(name = "sku_code",  length = 100 , precision = 0)
    private String skuCode;
                
    @DbField(name = "sku_name",  length = 100 , precision = 0)
    private String skuName;
                
    @DbField(name = "write_off_qty",  length = 18 , precision = 4)
    private Double writeOffQty;
                
    @DbField(name = "formal_contract_code",  length = 50 , precision = 0)
    private String formalContractCode;
                
    @DbField(name = "formal_contract_item_id",  length = 40 , precision = 0)
    private String formalContractItemId;
                
    @DbField(name = "temporary_contract_item_id",  length = 40 , precision = 0)
    private String temporaryContractItemId;
                
    @DbField(name = "temporary_out_qty",  length = 38 , precision = 4)
    private Double temporaryOutQty;
                
    @DbField(name = "temporary_deliver_count",  length = 38 , precision = 4)
    private Double temporaryDeliverCount;
                
    @DbField(name = "formal_out_qty",  length = 38 , precision = 4)
    private Double formalOutQty;
                
    @DbField(name = "formal_deliver_count",  length = 38 , precision = 4)
    private Double formalDeliverCount;
        
    @TableField(fill = FieldFill.INSERT)            
    @DbField(name = "create_time",  length = -1 , precision = 0)
    private Date createTime;
        
    @TableField(fill = FieldFill.INSERT)            
    @DbField(name = "create_at_name",  length = 100 , precision = 0)
    private String createAtName;
                
    @DbField(name = "tenant_id",  length = 40 , precision = 0)
    private String tenantId;


}